// 通知公告详情
import { View } from "@tarojs/components";
import React from "react";

type TAnnouncementDetailProps = {
  announcementId: string | number;
};

const AnnouncementDetail: React.FC<TAnnouncementDetailProps> = ({
  announcementId,
}) => {
  return (
    <View className="w-[90vw] h-[85vh] bg-white rounded-lg shadow p-4 flex flex-col flex-nowrap gap-2">
      <View className="text-base font-semibold">
        3.1.2版本上线，报备流程等多处优化！{announcementId}
      </View>
      <View className="text-xs text-blue-400 ">[公告]</View>
      <View className="text-xs text-gray-400">2023-01-01</View>
      <View className="text-sm">亲爱的企业用户，您好！</View>
    </View>
  );
};

export default AnnouncementDetail;
